From f770d340f1380e924a1cdc201d3872306d263945 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 19 May 2009 01:50:00 +0100 Subject: [PATCH] xend: adjust relocation buffer size This can greatly improve ssl relocation performance (to about 1/3 compared with buffersize 1024). Signed-off-by: Zhigang Wang --- tools/python/xen/web/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/web/connection.py b/tools/python/xen/web/connection.py index 3d335d2fbd..17e1762085 100644 --- a/tools/python/xen/web/connection.py +++ b/tools/python/xen/web/connection.py @@ -37,7 +37,7 @@ specifying what kind of socket they are. There are subclasses for TCP and unix-domain sockets (see tcp.py and unix.py). """ -BUFFER_SIZE = 1024 +BUFFER_SIZE = 16384 BACKLOG = 5 -- 2.30.2